// user相关
export const USERNAME_OR_PASSWORD_IS_REQUIRED: string = 'name_or_password_is_required'
export const USERNAME_ALREADY_EXISTS: string = 'username_already_exists'
export const USER_DOES_NOT_EXISTS: string = 'user_does_not_exists'
export const PASSWORD_IS_INCORRECT: string = 'password_is_incorrect'
export const UNAUTHORIZED: string = 'unauthorized'

// role相关
export const ROLE_ALREADY_EXISTS: string = 'role_already_exists'
export const ROLE_NAME_IS_REQUIRE: string = 'role_name_is_require'

// 参数缺少默认。。。
export const PARAMS_IS_REQUIRED: string = 'params_is_required'
export const ID_PARAMS_IS_REQUIRED: string = 'id_params_is_required'
export const PERMISSION_ALREADY_EXISTS: string = 'permission_already_exists'
export const PID_NOT_EXISTS: string = 'pid_not_exists'

// 默认
export const DEFAULE_ERROR: string = 'defaule_error'